

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Art-Mall 后台管理系统</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="${request.contextPath}/statics/plugins/layui/css/layui.css" media="all">
</head>
<body>

  <div class="layui-form" lay-filter="lay-form" id="lay-form" style="padding: 20px 0 0 0;">
    <div class="layui-form-item">
      <label class="layui-form-label">艺术品名称</label>
      <div class="layui-input-inline">
        <input type="text" name="artName" lay-verify="required"  placeholder="请输入艺术品名称" autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">艺术品类别</label>
      <div class="layui-input-inline">
        <select name="artTypeId">
          <option value="">请选择</option>
        </select>
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">艺术品材质</label>
      <div class="layui-input-inline">
        <input type="text" name="artMaterial"  placeholder="请输入..." autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">艺术品尺寸</label>
      <div class="layui-input-inline">
        <input type="text" name="artNormsLong" placeholder="请输入长度..." autocomplete="off" class="layui-input">
      </div>
      <div class="layui-input-inline">
        <input type="text" name="artNormsWide" placeholder="请输入宽度..." autocomplete="off" class="layui-input">
      </div>
      <div class="layui-input-inline">
        <input type="text" name="artNormsHeight" placeholder="请输入高度..." autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">所在位置</label>
        <div class="layui-input-inline">
          <select name="province" lay-filter="province" class="province">
            <option value="">请选择省</option>
          </select>
        </div>
        <div class="layui-input-inline">
          <select name="city" lay-filter="city" disabled>
            <option value="">请选择市</option>
          </select>
        </div>
        <div class="layui-input-inline">
          <select name="area" lay-filter="area" disabled>
            <option value="">请选择县/区</option>
          </select>
        </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">艺术品图片</label>
      <input type="hidden" name="imageUrl" id="image_url">
      <input type="hidden" name="coverImageUrl" id="cover_image_url">
      <div>
        <button type="button" class="layui-btn" id="uploadImg"><i class="layui-icon"></i>上传图片</button>
        <button type="button" class="layui-btn" id="uploadBtn">开始上传</button>
      </div>
      <div class="layui-input-block">
        <table class="layui-table imageTab layui-hide">
          <thead>
          <tr>
            <th>文件名</th>
            <th>预览</th>
            <th>大小</th>
            <th>状态</th>
            <th>操作</th>
          </tr>
          </thead>
          <tbody id="imgList"></tbody>
        </table>
      </div>
    </div>
    <div class="layui-form-item layui-hide">
      <input type="button" lay-submit lay-filter="lay-bth-submit" id="lay-bth-submit" value="确认">
    </div>
  </div>

  <script src="${request.contextPath}/statics/plugins/layui/layui.js"></script>

  <script>
  layui.config({
      base : '${request.contextPath}/statics/modules/' //静态资源所在路径
  }).extend({
    index: 'index', //主入口模块
    address:'expandModules/address/address',
    icdnlist : 'art/icdnlist'
  }).use(['index', 'form', 'upload','address','icdnlist'], function(){
    var $ = layui.$,
    form = layui.form,
    upload = layui.upload,
    address = layui.address();

  })
  </script>
</body>
</html>